package com.intel.two.service.building.impl;

import com.intel.two.mapper.buildingMapper.JanitorMapper;
import com.intel.two.pojo.building.Janitor;
import com.intel.two.service.building.JanitorService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("janitorService")
public class JanitorServiceImpl implements JanitorService {
    @Autowired
    private JanitorMapper janitorMapper;

    @Override
    public List<Janitor> janitors() {
        return janitorMapper.janitors();
    }
}
